package com.xtasz.itom.alarm.service.impl;

import java.util.HashMap;
import java.util.List;

import com.xtasz.itom.alarm.dao.inter.alarmDao;
import com.xtasz.itom.alarm.domain.Alarm;
import com.xtasz.itom.alarm.service.inter.alarmService;

public class alarmServiceImpl implements alarmService {
   
	
	private com.xtasz.itom.alarm.dao.inter.alarmDao alarmDao;
	
	@Override
	public List getAlarmProportionInfo(HashMap param) {
		return alarmDao.getAlarmProportionInfo(param);
	}
    

	@Override
	public List getAlarmlist(Alarm alarm) {
		return alarmDao.getAlarmlist(alarm);
	}
	@Override
	public List getNegativeAlarmList(Alarm alarm) {
		return alarmDao.getNegativeAlarmList(alarm);
	}
	@Override
	public List getSingleAlarm(HashMap param) {
		return alarmDao.getSingleAlarm(param);
	}
    
	@Override
	public HashMap getAlarmTopology(HashMap param) {
		return alarmDao.getAlarmTopology(param);
	}
	@Override
	public HashMap getAlarmTopologyInterfaceInfo(HashMap param) {
		return alarmDao.getAlarmTopologyInterfaceInfo(param);
	}

	@Override
	public List getInterfaceErrInfo(HashMap param) {
		return alarmDao.getInterfaceErrInfo(param);
	}
	@Override
	public List getAlarmInterfaceFlag(HashMap param) {
		return alarmDao.getAlarmInterfaceFlag(param);
	}
	
	@Override
	public List getFailCodeTop10(HashMap param) {
		return alarmDao.getFailCodeTop10(param);
	}
	@Override
	public List getInterfaceInfoDetailReg(HashMap param) {
		return alarmDao.getInterfaceInfoDetailReg(param);
	}
	
	/****************************************************************/
	
	public alarmDao getAlarmDao() {
		return alarmDao;
	}

	public void setAlarmDao(alarmDao alarmDao) {
		this.alarmDao = alarmDao;
	}

}
